package com.iot.fire.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iot.fire.domain.DWaterMessage;

/**
 * @PackageName: com.iot.fire.service
 * @ClassName: IDWaterMessageService
 * @Description:
 * @Author: czl
 * @Date: 2025/11/10 23:16
 */
public interface IDWaterMessageService extends IService<DWaterMessage> {

    /**
     * 根据设备sn获取最新的消息
     * @param deviceSn
     * @return
     */
    DWaterMessage getLastWaterMessageByDeviceSn(String deviceSn);
}
